//
//  DingDanViewController.m
//  黑土公社商户端
//
//  Created by 1 on 15/12/23.
//  Copyright © 2015年 刘成. All rights reserved.
//

#import "DingDanViewController.h"
#import "SCNavTabBarController.h"
#import "myViewController.h"
#import "daiFaHouViewController.h"
#import "tuiKuanZhongViewController.h"
#import "yiFaHuoViewController.h"
#import "yiWanChengViewController.h"
#import "yiGuanBiViewController.h"
@interface DingDanViewController ()
@end

@implementation DingDanViewController


- (void)viewDidLoad
{
    [super viewDidLoad];
    
    self.title = @"订单";
    [self.navigationController.navigationBar setBarTintColor:[UIColor colorWithRed:106/255.0 green:221/255.0 blue:86/255.0 alpha:1.0]];
    self.view.backgroundColor = [UIColor yellowColor];
    myViewController *oneViewController = [[myViewController alloc] init];
    oneViewController.title = @"待付款";
    oneViewController.view.backgroundColor = [UIColor brownColor];
    
    daiFaHouViewController *twoViewController = [[daiFaHouViewController alloc] init];
    twoViewController.title = @"待发货";
    twoViewController.view.backgroundColor = [UIColor purpleColor];
    
    tuiKuanZhongViewController *threeViewController = [[tuiKuanZhongViewController alloc] init];
    threeViewController.title = @"退款中";
    threeViewController.view.backgroundColor = [UIColor orangeColor];
    
    yiFaHuoViewController *fourViewController = [[yiFaHuoViewController alloc] init];
    fourViewController.title = @"已发货";
    fourViewController.view.backgroundColor = [UIColor magentaColor];
    
    yiWanChengViewController *fiveViewController = [[yiWanChengViewController alloc] init];
    fiveViewController.title = @"已完成";
    fiveViewController.view.backgroundColor = [UIColor yellowColor];
    
    yiGuanBiViewController *sixViewController = [[yiGuanBiViewController alloc] init];
    sixViewController.title = @"已关闭";
    sixViewController.view.backgroundColor = [UIColor cyanColor];
    
    SCNavTabBarController *navTabBarController = [[SCNavTabBarController alloc] init];
    navTabBarController.subViewControllers = @[oneViewController, twoViewController, threeViewController, fourViewController, fiveViewController, sixViewController];
    navTabBarController.showArrowButton = YES;
    [navTabBarController addParentController:self];
 
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
